package cn.toutatis.sandbox.root.security.service.controller;


import cn.toutatis.common.controllerDepand.BaseControllerImpl;
import cn.toutatis.common.controllerDepand.Polymerization;
import cn.toutatis.common.log.LogBackHandle;
import cn.toutatis.sandbox.root.security.service.entity.SystemUserRoleRelation;
import cn.toutatis.sandbox.root.security.service.service.SystemUserRoleRelationService;
import cn.toutatis.sandbox.root.systemService.service.SystemDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Toutatis_Gc
 * @since 2020-08-13
 */
@Polymerization
@LogBackHandle("SystemUserRoleRelationController ")
@RequestMapping("/api/systemUserRoleRelation")
public class SystemUserRoleRelationController extends BaseControllerImpl<SystemUserRoleRelation, SystemUserRoleRelationService> {

    @Autowired
    SystemDictionaryService dictionaryService;

    @RequestMapping(value = "/index",method = RequestMethod.GET)
    public ModelAndView index(){
        ModelAndView modelAndView = new ModelAndView("root/system/setting/SystemUserRoleRelationIndex");
        modelAndView.addObject("status",dictionaryService.staticDic("SYSTEM_STATUS_0000"));
        return modelAndView;
    }

    /*   自定义后台方法区域   */


    /*   对外开放接口方法区域   */


    }
